package main
import "fmt"

type jiekou interface{
	ceshi()
}

type Int int
type String string
type Double float64

func (a Int)ceshi(){
	fmt.Printf("Int Ceshi a = %d\n", a)
}

func (s String)ceshi(){
	fmt.Printf("String Ceshi s = %s\n", s)
}

func (f Double)ceshi(){
	fmt.Printf("Double Ceshi f = %f\n", f)
}

func duotai(jk jiekou){
	jk.ceshi()
}

func main(){
	var a Int = 123
	var b String = "瑞哥"
	var c Double = 3.14159
	
	duotai(a)
	duotai(b)
	duotai(c)
}
